package com.wxh.dao;

import com.github.pagehelper.Page;
import com.wxh.pojo.Member;

import java.util.List;

public interface MemberDao {
    void add(Member member);

    Member findByTelephone(String telephone);

    List<Member> findAll();

    Page<Member> selectByCondition(String queryString);

    public void deleteById(Integer id);

    public Member findById(Integer id);

    public void edit(Member member);

    public Integer findMemberCountBeforeDate(String date);

    public Integer findMemberCountByDate(String date);

    public Integer findMemberCountAfterDate(String date);

    public Integer findMemberTotalCount();
}
